/*
package com.example.service.impl;

import com.example.mapper.ShowBusinessMapper;
import com.example.service.AsyncService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

import java.text.SimpleDateFormat;
import java.util.Date;

*/
/**
 * @program: springboot_course
 * @description:
 * @author: ChenZhiXiang
 * @create: 2019-06-11 16:02
 **//*

@Service
@Slf4j
public class AsyncServiceImpl implements AsyncService {

    private static final SimpleDateFormat YYYY_MM = new SimpleDateFormat("yyyy-MM");
    private static final SimpleDateFormat YYYY_MM_DD = new SimpleDateFormat("yyyy-MM-dd");




    @Override
    @Async
    public void generateReport() {
       log.info("【"+Thread.currentThread().getName()+"】");
    }

}
*/
